package com.slkj.shilixiaoyuanapp.entity;

import java.util.List;

/**
 * Created  on 2018-07-18
 *
 * @author 唐开阔
 * @describe 消息-通知
 */
public class MessageNoticeListEntity {


    /**
     * noticeNoRead : 53
     * notice : [{"intime":"2018-08-29","isDelete":0,"isRead":1,"id":100,"body":"请大家一定准时参加","title":"本周五下午三点，举行家长会","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/1"},{"intime":"2018-08-29","isDelete":0,"isRead":1,"id":95,"body":"文件","title":"正常文件","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/2"},{"intime":"2018-08-28","isDelete":0,"isRead":1,"id":93,"body":"。。。","title":"文件","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/3"},{"intime":"2018-08-28","isDelete":0,"isRead":1,"id":92,"body":"。。。","title":"文件","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/4"},{"intime":"2018-08-28","isDelete":0,"isRead":1,"id":91,"body":"。。。","title":"文件","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/5"},{"intime":"2018-08-28","isDelete":0,"isRead":1,"id":89,"body":"。。。","title":"文件","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/6"},{"intime":"2018-08-28","isDelete":0,"isRead":1,"id":88,"body":"。。。","title":"图","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/7"},{"intime":"2018-08-28","isDelete":0,"isRead":1,"id":87,"body":"。。。","title":"图文件","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/8"},{"intime":"2018-08-28","isDelete":0,"isRead":1,"id":85,"body":"尊敬的家长：你好！为了孩子们的健康成长，学校决定将于2018年5月30日举行节目表演，希望孩子们积极参与！","title":"六一儿童节节目表演","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/9"},{"intime":"2018-08-24","isDelete":0,"isRead":1,"id":78,"body":"一号公馆好好休息休息","title":"干活哈哈","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/10"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":76,"body":"你们好","title":"你好","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/11"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":71,"body":"内容","title":"TKKtest20","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/12"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":70,"body":"内容","title":"TKKtest19","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/13"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":69,"body":"内容","title":"TKKtest18","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/14"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":68,"body":"内容","title":"TKKtest17","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/15"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":67,"body":"内容","title":"TKKtest16","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/16"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":66,"body":"内容","title":"TKKtest15","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/17"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":65,"body":"内容","title":"TKKtest14","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/18"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":64,"body":"内容","title":"TKKtest13","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/19"},{"intime":"2018-08-22","isDelete":0,"isRead":0,"id":63,"body":"内容","title":"TKKtest12","type":1,"url":"http://47.106.8.136:8082/school/demo/index.html#/Notice/20"}]
     */

    private int noticeNoRead;
    private List<NoticeEntity> notice;

    public int getNoticeNoRead() {
        return noticeNoRead;
    }

    public void setNoticeNoRead(int noticeNoRead) {
        this.noticeNoRead = noticeNoRead;
    }

    public List<NoticeEntity> getNotice() {
        return notice;
    }

    public void setNotice(List<NoticeEntity> notice) {
        this.notice = notice;
    }

    public static class NoticeEntity {
        /**
         * intime : 2018-08-29
         * isDelete : 0
         * isRead : 1
         * id : 100
         * body : 请大家一定准时参加
         * title : 本周五下午三点，举行家长会
         * type : 1
         * url : http://47.106.8.136:8082/school/demo/index.html#/Notice/1
         */

        private String intime;
        private int isDelete;
        private int isRead;
        private int id;
        private String body;
        private String title;
        private int type;
        private String url;

        public String getIntime() {
            return intime;
        }

        public void setIntime(String intime) {
            this.intime = intime;
        }

        public int getIsDelete() {
            return isDelete;
        }

        public void setIsDelete(int isDelete) {
            this.isDelete = isDelete;
        }

        public int getIsRead() {
            return isRead;
        }
        public boolean isRead() {
            return isRead == 1;
        }
        public void setIsRead(int isRead) {
            this.isRead = isRead;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getBody() {
            return body;
        }

        public void setBody(String body) {
            this.body = body;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
